Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

opencv-build

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opencv-build

A simple script to auto build recent OpenCV + contrib version via npm

  • 0.1.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1K
decreased by-4.26%
Maintainers
1
Weekly downloads
 
Created
Source

Build Status Build status

A simple script to auto build recent OpenCV + contrib version via npm. This script is used to auto build opencv4nodejs.

Install

npm install opencv-build

Requirements

  • cmake

Windows

  • windows build tools or Visual Studio
npm install --global windows-build-tools

Environment Variables

It's possible to specify build environment variables by inserting them into the package.json where the dependency is declared an object like:

{
  "opencv4nodejs": {
    "autoBuildFlags": "-DOPENCV_GENERATE_PKGCONFIG=ON -DOPENCV_PC_FILE_NAME=opencv.pc",
    "autoBuildOpencvVersion": "4.1.0"
  }
}

The following environment variables can be passed:

  • autoBuildBuildCuda
  • autoBuildFlags
  • autoBuildOpencvVersion
  • autoBuildWithoutContrib
  • disableAutoBuild
  • opencvIncludeDir
  • opencvLibDir
  • opencvBinDir

Keywords

FAQs

Package last updated on 08 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc